package net.zhengxinyun.performance.App.dto;

import net.zhengxinyun.performance.App.dto.DuChaDTO.DCTaskDTO;
import net.zhengxinyun.performance.App.dto.DuChaDTO.ZDProcjectDTO;

/**
 *  封装分数的dto
 */
public class ScoreDTO {

    private double finalScore;// 得分
    private double score;// 得分率
    private int weight; // 权重
    private int     rank; // 排名
    private String townName; // 单位乡镇名称
    private String departCode;  // 单位编码
    private String datetime;// 时间日期
    private String departName;
    private String indexName;
    private Long   indexId;
    private String indexProgress; // 进展情况
    private String problems;// 存在问题
    private Long typeId;
    private double gongjianScore;
    private DCTaskDTO dcTask;
    private ZDProcjectDTO zdProject;
    private  String  ecoIndexId;
    private int calculates;
    private String grades;
    private String connects;
    private String sysCode;
    private String itemId;

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getConnects() {
        return connects;
    }

    public void setConnects(String connects) {
        this.connects = connects;
    }

    public String getSysCode() {
        return sysCode;
    }

    public void setSysCode(String sysCode) {
        this.sysCode = sysCode;
    }

    public String getGrades() {
        return grades;
    }

    public void setGrades(String grades) {
        this.grades = grades;
    }

    public int getCalculates() {
        return calculates;
    }

    public void setCalculates(int calculates) {
        this.calculates = calculates;
    }

    public String getEcoIndexId() {
        return ecoIndexId;
    }

    public void setEcoIndexId(String ecoIndexId) {
        this.ecoIndexId = ecoIndexId;
    }

    public DCTaskDTO getDcTask() {
        return dcTask;
    }

    public void setDcTask(DCTaskDTO dcTask) {
        this.dcTask = dcTask;
    }

    public ZDProcjectDTO getZdProject() {
        return zdProject;
    }

    public void setZdProject(ZDProcjectDTO zdProject) {
        this.zdProject = zdProject;
    }

    public double getGongjianScore() {
        return gongjianScore;
    }

    public void setGongjianScore(double gongjianScore) {
        this.gongjianScore = gongjianScore;
    }

    public ScoreDTO(double finalScore, String indexName, Long typeId, String datetime) {
        this.finalScore = finalScore;
        this.indexName = indexName;
        this.typeId = typeId;
        this.datetime=datetime;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getIndexProgress() {
        return indexProgress;
    }

    public void setIndexProgress(String indexProgress) {
        this.indexProgress = indexProgress;
    }

    public String getProblems() {
        return problems;
    }

    public void setProblems(String problems) {
        this.problems = problems;
    }

    public ScoreDTO(double finalScore, String departCode) {
        this.finalScore = finalScore;
        this.departCode = departCode;
    }

    public Long getIndexId() {
        return indexId;
    }

    public void setIndexId(Long indexId) {
        this.indexId = indexId;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public String getDepartName() {
        return departName;
    }

    public void setDepartName(String departName) {
        this.departName = departName;
    }

    public String getDatetime() {
        return datetime;
    }

    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }

    public String getDepartCode() {
        return departCode;
    }

    public void setDepartCode(String departCode) {
        this.departCode = departCode;
    }

    public ScoreDTO(double finalScore, double score, int weight, int rank, String townName,String departCode,String datetime) {
        this.finalScore = finalScore;
        this.score = score;
        this.weight = weight;
        this.rank = rank;
        this.townName = townName;
        this.departCode= departCode;
        this.datetime=datetime;
    }



 /*   public ScoreDTO(double finalScore, double score, int weight, int rank, String townName, String departCode, String datetime, String departName, String indexName) {
        this.finalScore = finalScore;
        this.score = score;
        this.weight = weight;
        this.rank = rank;
        this.townName = townName;
        this.departCode = departCode;
        this.datetime = datetime;
        this.departName = departName;
        this.indexName = indexName;
    }*/

    public ScoreDTO(Long indexId ,double finalScore, double score, int weight, int rank, String townName, String departCode, String datetime, String departName, String indexName) {
        this.indexId= indexId;
        this.finalScore = finalScore;
        this.score = score;
        this.weight = weight;
        this.rank = rank;
        this.townName = townName;
        this.departCode = departCode;
        this.datetime = datetime;
        this.departName = departName;
        this.indexName = indexName;
    }
    public ScoreDTO(Long indexId ,double finalScore, double score, int weight, int rank, String townName, String departCode, String datetime, String departName, String indexName,String problems,  String indexProgress) {
        this.indexId= indexId;
        this.finalScore = finalScore;
        this.score = score;
        this.weight = weight;
        this.rank = rank;
        this.townName = townName;
        this.departCode = departCode;
        this.datetime = datetime;
        this.departName = departName;
        this.indexName = indexName;
        this.problems=problems;
        this.indexProgress=indexProgress;

    }

    public ScoreDTO() {
    }

    public ScoreDTO(double finalScore, String departCode, String datetime, String indexName) {
        this.finalScore = finalScore;
        this.departCode = departCode;
        this.datetime = datetime;
        this.indexName = indexName;
    }

    public ScoreDTO(double finalScore, String departCode, String datetime, String indexName,String departName) {
        this.finalScore = finalScore;
        this.departCode = departCode;
        this.datetime = datetime;
        this.indexName = indexName;
        this.departName=departName;
    }

    public String getTownName() {
        return townName;
    }

    public void setTownName(String townName) {
        this.townName = townName;
    }

    public double getFinalScore() {
        return finalScore;
    }

    public void setFinalScore(double finalScore) {
        this.finalScore = finalScore;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }
}
